import 'package:get/get.dart';
import 'package:study_demo/api/api.dart';
import 'package:study_demo/base/BaseController.dart';
import 'package:study_demo/ui/note/note_detail_page.dart';
import 'package:url_launcher/url_launcher.dart';

class NoteHallController extends BaseController {
  goNoteDetail() {
    Get.to(NoteDetailPage());
  }

  goMelos() {
    launchUrl(Uri.parse(melosProblemUrl));
  }

  goRust() {
    launchUrl(Uri.parse(rustStudyUrl));
  }
}
